package com.woniu.gf.pawn.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.gf.pawn.comm.core.domain.Product;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.gf.pawn.comm.core.domain.ProductBigType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Lucas
 * @since 2020-10-15
 */
public interface ProductMapper extends BaseMapper<Product> {
    /**
     * 查询
     */
    IPage<Product> selectPageVo(Page<Product> page, @Param("productName") String productName);

    /**
     * 删除
     */
    void deleteProduct(List<Integer> ids);
}
